package GUI;

import javax.swing.JPanel;
import javax.swing.JLabel;
import com.jgoodies.forms.factories.DefaultComponentFactory;
import javax.swing.ImageIcon;
import java.awt.Font;
import javax.swing.JComboBox;
import javax.swing.JButton;

public class ViewRequest_GUI extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private JButton cancel_button;
	private JButton btnSubmit;
	private JComboBox choose_req_comboBox;
	public ViewRequest_GUI() {
		setLayout(null);
		
		JLabel lblNewJgoodiesTitle = DefaultComponentFactory.getInstance().createTitle("        View request");
		lblNewJgoodiesTitle.setFont(new Font("David", Font.BOLD | Font.ITALIC, 17));
		lblNewJgoodiesTitle.setIcon(new ImageIcon(ViewRequest_GUI.class.getResource("/Picture/Dj-View-icon.png")));
		lblNewJgoodiesTitle.setBounds(10, 14, 322, 121);
		add(lblNewJgoodiesTitle);
		
		JLabel lblNewJgoodiesLabel = DefaultComponentFactory.getInstance().createLabel("Choose request number");
		lblNewJgoodiesLabel.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel.setBounds(10, 198, 149, 24);
		add(lblNewJgoodiesLabel);
		
		choose_req_comboBox = new JComboBox();
		choose_req_comboBox.setBounds(192, 196, 163, 30);
		add(choose_req_comboBox);
		
		cancel_button = new JButton("Cancel");
		cancel_button.setIcon(new ImageIcon(ViewRequest_GUI.class.getResource("/Picture/Button-Close-icon.png")));
		cancel_button.setBounds(10, 442, 141, 47);
		add(cancel_button);
		
		btnSubmit = new JButton("Submit");
		btnSubmit.setIcon(new ImageIcon(ViewRequest_GUI.class.getResource("/Picture/Ok-icon.png")));
		btnSubmit.setBounds(309, 442, 141, 47);
		add(btnSubmit);
	}
	public JButton getCancel_button() {
		return cancel_button;
	}
	public void setCancel_button(JButton cancel_button) {
		this.cancel_button = cancel_button;
	}
	public JButton getBtnSubmit() {
		return btnSubmit;
	}
	public void setBtnSubmit(JButton btnSubmit) {
		this.btnSubmit = btnSubmit;
	}
	public JComboBox getChoose_req_comboBox() {
		return choose_req_comboBox;
	}
	public void setChoose_req_comboBox(JComboBox choose_req_comboBox) {
		this.choose_req_comboBox = choose_req_comboBox;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}
